package com.demo.service;


import com.demo.pojo.Account;

import java.util.List;

public interface AccountService {

    //查询所有用户
    List<Account> selectAll();

    //查询单个用户
    Account getById(int id);

    //删除用户
    Boolean delete(int id);

    //修改用户
    Boolean update(int id);

    //新增用户
    Boolean insert(Account account);
}
